<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/reglogin.css" rel="stylesheet" type="text/css" />
</head>
<body>
{#include file="header.htm"#}
<div class="login_top_nav">会员登录</div>
<div class="login_logbox">
<div class="login_logbox_left link_bk">
  <form id="form1" name="form1" method="post" action="?act=do_login">
<div style="padding:3px;">
帐&nbsp;&nbsp;&nbsp;&nbsp;号：<input name="username" type="text"  class="login_logbox_left_text" id="username" onFocus="this.style.borderColor='#FFBA00'" onBlur="this.style.borderColor='#B5B8C8'" maxlength="30" />
</div>
<div style="padding:3px;">
密&nbsp;&nbsp;&nbsp;&nbsp;码：<input name="password" type="password"  class="login_logbox_left_text" id="password" onFocus="this.style.borderColor='#FFBA00'" onBlur="this.style.borderColor=''" maxlength="20"/>
</div>
{#if $error eq "1"#}
<div style="padding-left:52px; width:232px; height:16px;color:#FF0000; margin-top:10px;">
<img src="{#$QISHI.site_template#}images/check_error.gif" align="absmiddle" />&nbsp;&nbsp;账户名或者密码错误，请重新输入！</div>
{#/if#}
<div style="padding:3px;padding-top:10px; ">
<input type="submit" name="Submit" value="提交" class="login_logbox_left_submit"/>
<a href="?act=get_pass_index">忘记密码？</a>
</div>
</form>
</div>
<div class="login_logbox_right"><a href="?act=reg1"></a></div>
</div>
{#include file="footer.htm"#}
<script type="text/javascript">
var loginInfoJs=document.getElementById("username");
if(loginInfoJs.value=="" || loginInfoJs.value=="email地址或者用户名")
{
	loginInfoJs.style.color="#c0c0c0";
	loginInfoJs.value="email地址或者用户名";
	loginInfoJs.onfocus=function(){
	clearInfoJs();
	}
	loginInfoJs.onblur=function(){
	inputInfoJs();
	}
}
function clearInfoJs(){
	if(loginInfoJs.value=="email地址或者用户名") 
	{
		loginInfoJs.style.color="#000";
		loginInfoJs.value="";	
	}
}
function inputInfoJs(){
	if(loginInfoJs.value==""){
		loginInfoJs.style.color="#c0c0c0";
		loginInfoJs.value="email地址或者用户名";
	}
}
</script>
</body>
</html>
